#include "comm.hpp"

using namespace std;
int main()
{
    int shmid = GetShm();
    char *pshm = (char *)shmat(shmid, nullptr, 0);
    while (true)
    {
        cout << "Plese input:";
        fgets(pshm, size, stdin);
    }
    shmdt(pshm);
    return 0;
}